package com.cjh.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName permission
 */
@TableName(value ="permission")
@Data
public class Permission implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer permissionId;

    /**
     * 
     */
    private String permissionCode;

    /**
     * 
     */
    private String permissionName;

    /**
     * 
     */
    private Integer fatherId;

    /**
     * 
     */
    private String path;

    /**
     * 是否为菜单1：是 2：按钮3：页面 
     */
    private Integer isMenu;

    /**
     * 
     */
    private Integer sort;

    /**
     * element图标
     */
    private String icon;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}